﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Configuration;
using Icst.Leaflike.Data;

namespace Icst.Leaflike
{
    public class Searcher
    {
        public tree_attr[] SearchYeXing(Stream input,string mimeType,string fileName, Version version)
        {
            //using (SearchServiceClient client = new SearchServiceClient())
            //{
            //    long length = input.Length;
            //    byte[] stream = new byte[length];
            //    input.Read(stream, 0, (int)length);
            //    string[] contours = client.GetContours(stream);
            //}
            return Tree.Instance.Attributes(Tree.YEXING, version).Take(2).ToArray();
        }
    }
}
